#ifndef DIALOGS_H
#define DIALOGS_H

#include <QMainWindow>
#include <QDialog>
#include "ui_datachanged_dialog.h"

typedef enum {
  DialogReturn_YES, DialogReturn_NO, DialogReturn_CANCEL
} DialogReturn;

class DataChangedDialog : public QDialog, public Ui::DataChangedDialog
{
    Q_OBJECT
public:
  DataChangedDialog(QWidget *parent=0);
  ~DataChangedDialog();
  int get_clicked_button();
private:
  DialogReturn clicked_button;
private slots:
  void on_buttonBox_clicked(QAbstractButton *button);
};

#endif